/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Fases;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;
import java.io.IOException;

/**
 * @author Marcio
 */
public class GameDesign {

    //<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
    private Image Ca;
    private Sprite cacadorBode;
    public int cacadorBodeSeqDireitaDelay = 200;
    public int[] cacadorBodeSeqDireita = {7, 1, 2, 3, 4, 5, 7, 8};
    public int cacadorBodeSeqCimaDelay = 200;
    public int[] cacadorBodeSeqCima = {10, 11, 12, 13, 14, 15, 16, 17};
    public int cacadorBodeSeqBaixoDelay = 200;
    public int[] cacadorBodeSeqBaixo = {28, 29, 30, 31, 32, 33, 34, 35};
    public int cacadorBodeSeqEsq1Delay = 200;
    public int[] cacadorBodeSeqEsq1 = {19, 20, 21, 22, 23, 24, 26};
    //</editor-fold>//GEN-END:|fields|0|

    //<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
    //</editor-fold>//GEN-END:|methods|0|

    public Image getCa() throws java.io.IOException {//GEN-BEGIN:|1-getter|0|1-preInit
        if (Ca == null) {//GEN-END:|1-getter|0|1-preInit
            // write pre-init user code here
            Ca = Image.createImage("/imagens/Ca.png");//GEN-BEGIN:|1-getter|1|1-postInit
        }//GEN-END:|1-getter|1|1-postInit
        // write post-init user code here
        return this.Ca;//GEN-BEGIN:|1-getter|2|
    }
//GEN-END:|1-getter|2|

    public Sprite getCacadorBode() throws java.io.IOException {//GEN-BEGIN:|2-getter|0|2-preInit
        if (cacadorBode == null) {//GEN-END:|2-getter|0|2-preInit
            // write pre-init user code here
            cacadorBode = new Sprite(getCa(), 36, 46);//GEN-BEGIN:|2-getter|1|2-postInit
            cacadorBode.setFrameSequence(cacadorBodeSeqDireita);//GEN-END:|2-getter|1|2-postInit
            // write post-init user code here
        }//GEN-BEGIN:|2-getter|2|
        return cacadorBode;
    }
//GEN-END:|2-getter|2|

}
